<?php
defined('_JEXEC') or die;

// Access check.
if (!JFactory::getUser()->authorise('core.manage', 'com_appcategorys')) {
	return JError::raiseWarning(404, JText::_('JERROR_ALERTNOAUTHOR'));
}

// Register helper class
JLoader::register('AppcategorysHelper', dirname(__FILE__) . '/helpers/appcategory.php');

$controller = JControllerLegacy::getInstance('appcategorys');
$controller->execute(JRequest::getCmd('task'));
$controller->redirect();
